package com.taxinfo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.taxinfo.pojo.dto.StandardSubDto;
import com.taxinfo.pojo.vo.StandardSub;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wanghy
 * @since 2025-01-20
 */
@Repository
public interface StandardSubMapper extends BaseMapper<StandardSub> {
    /**
     * 查询所有数据
     * @return
     */
    List<StandardSubDto> selectAllData(@Param("subName")  String subName, @Param("decType")  String decType);

    List<StandardSubDto> selectMatchByKey(@Param("prefix") String prefix, @Param("suffix") String suffix, @Param("category") String category);
}
